﻿<%@ Control Language="C#" %>
<%@ Register src="../module/Admincenter-Public-Approved.ascx" tagname="Approved" tagprefix="inal" %>
<script runat="server">
    private int Item_Lang = 1;
    protected void Page_Load(object sender, EventArgs e)
    {
        int Item_Typ = Utils.GetQueryString("Cid", 0);
        Item_Lang = Utils.GetQueryString("lang", 1);
        Alerts alert = new Alerts();
        Repeater_List.DataSource = alert.Alert_List(Item_Lang);
        Repeater_List.DataBind();
    }

</script>
<table class="datas">
<thead>
    <tr>
    <td class="w50">Num</td>
    <td><%=Lang.Show("Title")%></td>
    <td><%=Lang.Show("Create_Time")%></td>
    <td class="Narrow"></td>
    <td class="Narrow"></td>
    </tr>
</thead>
<tbody>
<asp:Repeater runat="server" ID="Repeater_List">
<ItemTemplate>
    <tr id="TR<%#Eval("Ar_Id") %>">
        <td><code>.<%#Eval("Ar_Id")%>  </code></td>
        <td><%#Eval("Ar_Text")%></td>
        <td><time><%#Eval("Ar_Create_Time", "{0:yyyy/MM/dd<br>HH-mm-ss}")%></time></td>
        <td><a href="Alert-AddEdit.aspx?id=<%#Eval("Ar_Id") %>&lang=<%=Item_Lang %>"><%=Lang.Show("Edit")%></a></td>
        <td><a href="javascript:Del(<%#Eval("Ar_Id") %>,26)" class="del"><%=Lang.Show("Del")%></a></td>
    </tr>
</ItemTemplate>
</asp:Repeater>
</tbody>
</table>